/**
 * Created by jijin on 2017/7/22.
 */
import React, { Component } from 'react';
import {
  View,
  Text,
  StyleSheet,
  Platform
} from 'react-native';
import NavBar from '../components/navbar';

export default class Projects extends Component {
  render() {
    return (
      <View style={styles.container}>
        <Text>项目页面待完善...</Text>
        <NavBar
          leftOn={true}
          title={this.props.title}
          onLeftPress={() => Platform.OS === 'android' && this.props.openMenu()}
        />
      </View>
    )
  }
}

const styles = StyleSheet.create({
  container: {
    flex: 1,
    alignItems: 'center',
    justifyContent: 'center'
  }
});